package com.yanqu.road.entity.activity.hanghai;

import com.yanqu.road.entity.activity.ActivityInfo;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class HangHaiData {

    private int activityId;
    private Map<String, HangHaiUnionData> unionDataMap = new ConcurrentHashMap<>();
    private Map<Long, HangHaiUserData> userDataMap = new ConcurrentHashMap<>();

    private Map<Long, Boolean> hadBuyMap = new ConcurrentHashMap<>(); // 不入库

    private ActivityInfo activityInfo;

    public HangHaiData(int activityId, Map<String, HangHaiUnionData> unionDataMap, Map<Long, HangHaiUserData> userDataMap, ActivityInfo activityInfo) {
        this.activityId = activityId;
        this.unionDataMap = unionDataMap;
        this.userDataMap = userDataMap;
        this.activityInfo = activityInfo;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public Map<String, HangHaiUnionData> getUnionDataMap() {
        return unionDataMap;
    }

    public void setUnionDataMap(Map<String, HangHaiUnionData> unionDataMap) {
        this.unionDataMap = unionDataMap;
    }

    public Map<Long, HangHaiUserData> getUserDataMap() {
        return userDataMap;
    }

    public void setUserDataMap(Map<Long, HangHaiUserData> userDataMap) {
        this.userDataMap = userDataMap;
    }

    public ActivityInfo getActivityInfo() {
        return activityInfo;
    }

    public void setActivityInfo(ActivityInfo activityInfo) {
        this.activityInfo = activityInfo;
    }

    public Map<Long, Boolean> getHadBuyMap() {
        return hadBuyMap;
    }

    public void setHadBuyMap(Map<Long, Boolean> hadBuyMap) {
        this.hadBuyMap = hadBuyMap;
    }
}
